<div id="element-box">	
	<div class="m" style="min-height:450px">
		<div class="subNav">
			<ul>
				<li class="active">
					<div>
						<a title="" href="/admin/media"><?php echo $this->translate('admin_category_pic_tab')?></a>
					</div>
				</li>
				<li >
					<div>
						<a title="" href="/admin/media/file"><?php echo $this->translate('admin_category_file_tab')?></a>						
					</div>
				</li>				
			</ul>
		</div>		
		<?php echo $this->message; ?>
		<div class="head-title">
			<h3>
				<span><?php echo $this->translate('admin_category_pic_title')?></span>
			</h3>	
			<div class="wrapBtn">
				<a class="btnUpdate btnCreate" title="<?php echo $this->translate('admin_media_create_folder')?>" href="javascript:void(0);">
					<?php echo $this->translate('admin_media_create_folder')?></a> 
				<a class="btnUpdate btnUpload" title="<?php echo $this->translate('admin_media_upload')?>" href="javascript:void(0);">
					<?php echo $this->translate('admin_media_upload')?></a>
			</div>		
		</div>	
		<div id="listcontainer">
		<div id="folders">
			<div>
				<h2><?php echo $this->translate('admin_media_album_menu')?></h2>				
				<ul class="folders" id="folder_list">
					<?php
					if (sizeof($this->arrAlbum) > 0) { 
						foreach ($this->arrAlbum as $item) {
							echo '<li class="folder">
									<a title="'.$item['name'].'" rel="'.$item['id'].'" 
									href="javascript:void(0);">'.$item['name'].'</a>
								 </li>';						
						}
					} else echo '<li class="folder">No album</li>';					
					?>					
				</ul>				
			</div>
		</div>
	
		<div id="viewcontainer">
			<div style="float:left">
				<h3 style="margin: 0">Album : <span id="albumTitle"><?php echo $this->currentAlbum['name']?></span>&nbsp;&nbsp;&nbsp;<span class="progress"></span></h3>				
				<input type="hidden" name="albumId" id="albumId" value="<?php echo $this->currentAlbum['id']?>">
			</div>			
			<br style="clear:both">
			<div id="filelist" style="overflow:auto; height:370px">	
			</div>
		</div>
		<br style="clear:both">
	</div>
	</div>
</div>